<?php if(!empty($mdDataList)):?>

<?php if(!empty($config['title'])):?>
<div class="md-piclist-a-hd">
	<?=$config['title']?>
	
</div>
<?php endif;?>
<div class="md-piclist-a">
	<?php foreach($mdDataList as $k=>$v):?>
	<a href="/index.php?m=picture&a=show&id=<?=$v['id']?>" class="md-piclist-a-item">
		 
		<div class="md-piclist-a-item-img">
			<img src="<?=$v['imgurl']?>.middle.jpg" class="md-piclist-a-img">
			<div class="md-piclist-a-num"><?=$v['picnum']?>pics</div>
		</div>
		
		<div class="md-piclist-a-title"><?=$v['title']?></div>
		<div class="md-piclist-a-cm"><?=$v['comment_num']?>跟帖</div>
	</a>
	<?php endforeach;?>	
</div>
<?php endif;?>

 

 